<?php $perfil = $this->perfil();?>
<div class="block">
	<h2 class="navegacao-campanha">Campanhas</h2>
	<div class="block-in">
		<ul id="menuAdmin" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;">
			<li>
				<a title="Criar Campanha" href="<?php echo $this->url(array('module' => 'admin','controller' => 'campanha','action' => 'criar'),null,true);?>">Criar Nova Campanha</a>
			</li>
			<li>
				<a title="Minhas Campanhas" href="<?php echo $this->url(array('module' => 'admin','controller' => 'campanha','action' => 'minhas-campanhas'),null,true);?>">Minhas Campanhas</a>
			</li>
			<li>
				<a title="Buscar Campanhas" href="<?php echo $this->url(array('module' => 'admin','controller' => 'campanha','action' => 'buscar-campanhas'),null,true);?>">Buscar Campanhas</a>
			</li>			
	    </ul>
	</div>
</div>	



<div class="block">
	<h2 class="navegacao-base">Configurações de Base</h2>
	<div class="block-in">
		<ul id="menuAdmin" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;">	
	<li>
		<a title="Buscar e-mail na base" href="<?php echo $this->url(array('module' => 'admin','controller' => 'emails','action' => 'buscar'),null,true);?>">Buscar e-mail na base</a>
	</li>
	<?php if($perfil ==1){?>	
	<li>
		<a title="Importar E-mails" href="<?php echo $this->url(array('module' => 'admin','controller' => 'emails','action' => 'import'),null,true);?>">Importar E-mails</a>
	</li>
	<?php } ?>
	<li>
		<a title="Inserir e-mail na base" href="<?php echo $this->url(array('module' => 'admin','controller' => 'emails','action' => 'add'),null,true);?>">Inserir e-mail na base</a>
	</li>
	<li>
		<a title="Listas de Emails"	href="<?php echo $this->url(array('module' => 'admin','controller' => 'listas','action' => 'index'),null,true);?>">Lista de Emails</a>
	</li>
	<li>
		<a title="Criar Filtro" href="<?php echo $this->url(array('module' => 'admin','controller' => 'filtro','action' => 'index'),null,true);?>">Filtros</a>
	</li>
</ul>
</div>
</div>

<!--ADMINISTRADOR-->
<?php if($perfil ==1){?>
<div class="block">
	<h2 class="navegacao-sistema">Configurações do Sistema</h2>
	<div class="block-in">
		<ul id="menuAdmin" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;">
	<li>
		<a title="Usuários"	href="<?php echo $this->url(array('module' => 'admin','controller' => 'usuarios','action' => 'index'),null,true);?>">Usuários</a>
	</li>
	<li>
		<a title="Configurar SMTP" href="<?php echo $this->url(array('module' => 'admin','controller' => 'smtp','action' => 'minhas-contas-smtp'),null,true);?>">Contas SMTP</a>
	</li>
	<li>
		<a title="Criar Conta SMTP" href="<?php echo $this->url(array('module' => 'admin','controller' => 'smtp','action' => 'criar-conta'),null,true);?>">Criar Conta SMTP</a>
	</li>
</ul>
</div>
</div>
<?php } ?>

<div class="block">
	<h2 class="navegacao-meus-dados">Meu Cadastro</h2>
	<div class="block-in">
		<ul id="menuAdmin" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;">
	<li>
		<a title="Meus Dados"	href="<?php echo $this->url(array('module' => 'admin','controller' => 'meusdados','action' => 'editar'),null,true);?>">Meus Dados</a>
	</li>
</ul>
</div>
</div>